package org.edu.modules.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.edu.modules.common.entity.VeBaseBanJi;

@Mapper
public abstract interface VeBaseBanJiMapper extends BaseMapper<VeBaseBanJi> {
    public abstract List<VeBaseBanJi> getBanJiListBySpecId(Integer id, Integer bystatus);

    public abstract List<VeBaseBanJi> queryBanJiListBySpecAndGradeId(Integer specId, Integer gradeId);

    public abstract List<VeBaseBanJi> getBanJiListByGradeId(Integer gradeId);

    public abstract List<Map<String, Object>> getBanJiPageList(VeBaseBanJi veBaseBanJi);

    public abstract List<Map<String, Object>> queryBanJiPageListBySearch(String code, String bjmc);

    public abstract VeBaseBanJi getBanJiByName(Integer id, String name);

    public abstract VeBaseBanJi getBanJiByCode(Integer id, String code);

    public abstract int updateBanJiSchedule(int times);
}
